<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="510354b8d45a4803a44fab0e3daed5a1" class="chart-container" style="width:1000px; height:600px;"></div>
    <script>
        var chart_510354b8d45a4803a44fab0e3daed5a1 = echarts.init(
            document.getElementById('510354b8d45a4803a44fab0e3daed5a1'), 'white', {renderer: 'canvas'});
        var option_510354b8d45a4803a44fab0e3daed5a1 = {
    "backgroundColor": "#ffffff",
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "graph",
            "layout": "circular",
            "symbolSize": 10,
            "circular": {
                "rotateLabel": true
            },
            "force": {
                "repulsion": 50,
                "edgeLength": 50,
                "gravity": 0.2
            },
            "label": {
                "show": true,
                "position": "middle",
                "margin": 8,
                "fontWeight": 0.05,
                "borderWidth": 0.05
            },
            "lineStyle": {
                "show": true,
                "width": 0.6,
                "opacity": 1,
                "curveness": 0.1,
                "type": "solid",
                "color": "source"
            },
            "roam": true,
            "draggable": false,
            "focusNodeAdjacency": true,
            "data": [
                {
                    "name": "Ed Sheeran",
                    "symbolSize": 1.0,
                    "draggable": "False",
                    "value": 1,
                    "category": "Ed Sheeran"
                },
                {
                    "name": "James TW",
                    "symbolSize": 3.0,
                    "draggable": "False",
                    "value": 0,
                    "category": "Ed Sheeran"
                },
                {
                    "name": "gnash",
                    "symbolSize": 3.0,
                    "draggable": "False",
                    "value": 0,
                    "category": "Ed Sheeran"
                }
            ],
            "categories": [
                {
                    "name": "Ed Sheeran"
                },
                {
                    "name": "James TW"
                },
                {
                    "name": "gnash"
                }
            ],
            "edgeLabel": {
                "show": false,
                "position": "top",
                "margin": 8
            },
            "edgeSymbol": [
                null,
                null
            ],
            "edgeSymbolSize": 10,
            "links": [
                {
                    "source": "Ed Sheeran",
                    "target": "James TW",
                    "symbol": [
                        "arrow",
                        "none"
                    ]
                },
                {
                    "source": "Ed Sheeran",
                    "target": "gnash",
                    "symbol": [
                        "arrow",
                        "none"
                    ]
                }
            ]
        }
    ],
    "legend": [
        {
            "data": [
                "Ed Sheeran",
                "James TW",
                "gnash"
            ],
            "selected": {
                "Ed Sheeran": true,
                "James TW": true,
                "gnash": true
            },
            "show": false,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "showContent": true,
        "alwaysShowContent": false,
        "showDelay": 0,
        "hideDelay": 100,
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0,
        "padding": 5
    },
    "title": [
        {
            "text": "Graph-\u5173\u7cfb\u56fe",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_510354b8d45a4803a44fab0e3daed5a1.setOption(option_510354b8d45a4803a44fab0e3daed5a1);
    </script>
</body>
</html>
